import { ApiProperty } from "@nestjs/swagger";
import { TenantEntity } from "../entities/tenant.entity";

export class TenantPageResult {
  @ApiProperty({ description: "承载数据", type: () => [TenantEntity] })
  payload: TenantEntity[];

  @ApiProperty({ description: "总条数" })
  total: number;
}
